package com.huamoxi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huamoxi.entity.Role;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    // 判断用户是否为管理员
    Boolean isAdmin(Long userId);
}
